package main

import (
	"fmt"
	"unsafe"
)

func main() {
	var n1 int = 100
	//判断数据的类型和数据的大小
	fmt.Printf("type: %T   size: %d", n1, unsafe.Sizeof(n1))

	s1 := "string"
	//s1[0] = 'a'
	//go中的字符串是不可变的
	fmt.Println(s1)
}